package com.cheri.keller.mapper;

import com.cheri.keller.entity.TestTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Aaron Du
 * @version V1.0
 * @date 2020/5/23 17:31
 **/
public interface TestTableMapper {

   List<TestTable> bacthSelect(@Param("ids")List<Long> ids);

   int batchUpdate(@Param("state")String state, @Param("ids") List<Long> ids,
                   @Param("newState") String newState);

   int batchDelete(@Param("ids")List<Long> ids);
}
